<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org/">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <p th:text="${#dates.format(mydate, 'yyyy-MM-dd')}"></p>
    <p th:text="${#dates.format(mydate, 'yyyy-MM-dd HH:mm:ss.SSS')}"></p>
    <hr/>
    <p th:text="${#strings.replace('www.baidu.com', '.', '$')}"></p>
    <p th:text="${#strings.toUpperCase('www.baidu.cn')}"/>
    <p th:text="${#strings.trim('  www.baidu.cn  ')}"/>
    <hr>
    <p th:text="${#sets.contains(names, 'boot-0')}"></p>
    <p th:text="${#sets.contains(names, 'boot-9')}"></p>
    <p th:text="${#sets.size(names)}"></p>
    <hr>
    <p th:text="${#lists.contains(ids, 0)}"></p>
</body>
</html>